projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d25d88
)
(skeleton-internal-1): Use integerp and stringp
author
Kenichi Handa
<handa@m17n.org>
Fri, 7 Sep 2007 02:14:55 +0000
(
02:14
+0000)
committer
Kenichi Handa
<handa@m17n.org>
Fri, 7 Sep 2007 02:14:55 +0000
(
02:14
+0000)
instead of char-or-string-p to catch -1.
lisp/skeleton.el
patch
|
blob
|
history
diff --git
a/lisp/skeleton.el
b/lisp/skeleton.el
index 4425bb0389af3b300f647a4172a452cace1a4c4d..a49fbdcd954e81c2ecb2f7013e79f6dedb4ac57e 100644
(file)
--- a/
lisp/skeleton.el
+++ b/
lisp/skeleton.el
@@
-355,7
+355,7
@@
automatically, and you are prompted to fill in the variable parts.")))
(defun skeleton-internal-1 (element &optional literal recursive)
(cond
- ((
char-or-string-p element
)
+ ((
or (integerp element) (stringp element)
)
(if (and (integerp element) ; -num
(< element 0))
(if skeleton-untabify